//持久化存储token
export const setToken = (token) =>{
    localStorage.setItem("TOKEN",token)
}

//获取token
export const getToken = () =>{
    return localStorage.getItem("TOKEN")
}

//清除数据
export const removeToken = () =>{
    return localStorage.removeItem("TOKEN")
}